﻿/****************************************************************************
*                                                                           *
* Copyright (c) Ionescu M. Marius. All rights reserved(2010).               *
*                                                                           *
****************************************************************************/

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Data;

public class ReportBase : SessionControlBase
{
    public ReportBase()
	{
	}

	public string strReportID
	{
		get { return (string)(this.ViewState["strFrmID"] ?? ""); }
		set { this.ViewState["strFrmID"] = value; }
	}

	public virtual void bindReportView(DataView dv)
	{
	}

	public virtual void saveReportView(ref DataView dv)
	{
	}

    public bool isAdmin
    {
        get { return (bool)(this.ViewState["isAdmin"] ?? false); }
        set { this.ViewState["isAdmin"] = value; }
    }

}
